﻿<%@ Page Language="C#" Inherits="WinnerCMS.WebFactory.PhotoShow" EnableSessionState="false"
    EnableViewState="false" %>
<!doctype html>
<html>
<head>
<title><%=this.Model.ContentTitle %> -- <%=WebConfig.SiteName %></title>
<meta charset="utf-8" />
<%: Styles.Render("~/WinnerCMS6/Style") %>
<!--[if lt IE 9]><script src="{SysPath}/Scripts/html5shiv.js"></script><![endif]-->
<%: Scripts.Render("~/Script/Base") %>
<script src="{SysPath}/Scripts/Fotorama/fotorama.js" type="text/javascript"></script>
<script src="{SysPath}/Scripts/Fotorama/main.js" type="text/javascript"></script>
<link href="{SysPath}/Scripts/Fotorama/fotorama.css" rel="stylesheet" type="text/css" />
<link href="{StylePath}/PhotoShow.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%=Html.Partial("~/Templates/WinnerCMS6/Shared/Header.ascx",this.Model.CategoryId) %>

<div class="wherePath">[Path] → <%=this.Model.ContentTitle %></div>
<div class="container">
  <div class="fotorama" data-nav="thumbs" data-max-width="100%">
    <TW:PhotoList>
      <ItemTemplate> <a href="@PicUrl@"><img src="@ThumbUrl@" alt="<%=this.Model.ContentTitle %>" /></a> </ItemTemplate>
    </TW:PhotoList>
  </div>
</div>
<div class="PhotoInfo">
  <div style="float: left; width: 60%;">
    <h1><%=this.Model.ContentTitle %></h1>
    <p>@Content@</p>
  </div>
  <div id="Digo" style="border-bottom-width:0px;float: left; width: 25%;">
    <div id="div_goodnum"> <span id="goodnum">0</span> <br />
      票<br />
      顶一下 </div>
    <div id="div_badnum"> <span id="badnum">0</span> <br />
      票<br />
      踩一下 </div>
  </div>
  <div style="float: left; width: 15%;">编辑：@Editor@<br/>
    日期：@UpdateTime@</div>
</div>
<table border="0" cellspacing="1" cellpadding="3" class="CommentShow">
                    <thead>
                        <tr>
                            <th width="12%" align="center">网友</th>
                            <th align="center">评论内容（<a href="{SysPath}/Comment/List?CategoryId=<%=Model.CategoryId %>&ContentId=<%=Model.Id %>"
                                target="_blank">共
                           
                                <%=Model.CommentQuantity%>
                            条，查看完整内容</a>）
                            </th>
                            <th width="13%" align="center">发表时间
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <TW:NewComments runat="server" Rows="10">
                            <ItemTemplate>
                                <tr>
                                    <td align="center">@UserName@</td>
                                    <td>@Content@</td>
                                    <td align="center">@CreateTime@</td>
                                </tr>
                            </ItemTemplate>
                            <EmptyDataTemplate>
                                <tr>
                                    <td colspan="3">没有评论</td>
                                </tr>
                            </EmptyDataTemplate>
                        </TW:NewComments>
                    </tbody>
                </table>
<!--#include file="../Footer.aspx"-->
</body>
</html>
